package com.TPNexus.dao;

import static org.junit.Assert.*;

import java.util.Date;

import org.hibernate.Session;
import org.junit.Test;

import com.TPNexus.model.ShoppingCart;

public class PurchaseOrderDAOTest {

	@Test
	public void testCreatePurchaseOrder() {
		Date deliverydate=new Date();
		Session session = HibernateInitial.getSession();
		ShoppingCart shoppingCart=(ShoppingCart) session.get(ShoppingCart.class, (long)1);
		PurchaseOrderDAO dao=new PurchaseOrderDAO();
		dao.createPurchaseOrder(shoppingCart, deliverydate);
	}

	@Test
	public void testGetPOListBuyerView() {
		fail("Not yet implemented");
	}

	@Test
	public void testGetPOListSellerView() {
		fail("Not yet implemented");
	}

	@Test
	public void testGetPODetailById() {
		fail("Not yet implemented");
	}

}
